Skip to content

Conversation

jewan100
Copy link
Contributor

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

시계 방향, 반시계 방향 부분 mode로 나누고, dir = (dir + mode + 4) % 4로 방향 재설정을 해주니 아주 깔끔하네요!!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다 ㅎ
어떻게 하면 한번에 처리할까 고민을 하다가 생각해낸 방법인데
지영님처럼 아예 어떻게 움직일지 배열을 전달하는 방법도 괜찮은 것 같아요!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다들 돌풍의 회전 멋있게 구현하셨네요..! while문 조건을 시공의 돌풍으로 돌아올때까지 건 부분 좋네요!!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

회전 부분 구현하는게 복잡했는데 실제 현장에서는 깡 구현이 더 빠를 것 같아요

@KodaHye KodaHye force-pushed the main branch 3 times, most recently from cc213a1 to 3784e7f Compare October 21, 2024 16:39
@jewan100 jewan100 merged commit ab061b4 into GreatAlgorithm-Study:main Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants